package com.demo.resourcecode.c11mvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class UserViewController {

	public UserViewController(){
		System.out.println("init");
	}

	@GetMapping("/test/v/{id}")
	public String test1(@PathVariable("id") int id){
		return "show";
	}

}
